package com.wy.business.assembly.pojos;

import java.io.File;

import com.wy.framework.pojos.AbstractPojo;

/**
 * 
 * 项目名称：openportal_coding
 * 类名称：UploadInfo
 * 类描述：上传组件实体对象
 * 创建人：黄忠
 * 创建时间：2016-5-6 下午2:18:30
 * 修改人：黄忠
 * 修改时间：2016-5-6 下午2:18:30
 * 版本信息：@version 1.0
 * Copyright (c) 2016万雍科技（上海）有限公司-版权所有  
 * 修改备注：
 * @version
 */
public class UploadInfo extends AbstractPojo implements java.io.Serializable {

	/**
	 * serialVersionUID:TODO（用一句话描述这个变量表示什么）
	 * @since Ver 1.1
	 */
	
	private static final long serialVersionUID = 4576369694956368619L;
	
	/**
	 * 文件名称
	 */
	private String fileName;
	
	/**
	 * 文件类型  0：图片   1：文件
	 */
	private String fileType;
	
	/**
	 * 其他文件
	 */
	private File otherFile;
	
	/**
	 * 图片文件
	 */
	private String imgFile;
	
	/**
	 * 中图压缩比例
	 */
	private Float midCompressionRatio = (float)0.75;
	
	/**
	 * 缩略图压缩比例
	 */
	private Float thumbnailCompressionRatio = (float)0.75;
	
	/**
	 * 中图宽度 默认
	 */
	private Integer midImgWidth = 640;
	
	/**
	 * 中图高度 默认300
	 */
	private Integer midImgHeight = 480;
	
	/**
	 * 缩略图宽度 默认300
	 */
	private Integer thumbnailImgWidth = 188;
	
	/**
	 * 缩略图高度 默认300
	 */
	private Integer thumbnailHeight = 140;
	
	
	/**
	 * 文件大小
	 */
	private String fileSize; 
	

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public File getOtherFile() {
		return otherFile;
	}

	public void setOtherFile(File otherFile) {
		this.otherFile = otherFile;
	}

	public String getImgFile() {
		return imgFile;
	}

	public void setImgFile(String imgFile) {
		this.imgFile = imgFile;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Integer getMidImgHeight() {
		return midImgHeight;
	}

	public void setMidImgHeight(Integer midImgHeight) {
		this.midImgHeight = midImgHeight;
	}

	public Float getMidCompressionRatio() {
		return midCompressionRatio;
	}

	public void setMidCompressionRatio(Float midCompressionRatio) {
		this.midCompressionRatio = midCompressionRatio;
	}

	public Float getThumbnailCompressionRatio() {
		return thumbnailCompressionRatio;
	}

	public void setThumbnailCompressionRatio(Float thumbnailCompressionRatio) {
		this.thumbnailCompressionRatio = thumbnailCompressionRatio;
	}

	public Integer getMidImgWidth() {
		return midImgWidth;
	}

	public void setMidImgWidth(Integer midImgWidth) {
		this.midImgWidth = midImgWidth;
	}

	public Integer getThumbnailImgWidth() {
		return thumbnailImgWidth;
	}

	public void setThumbnailImgWidth(Integer thumbnailImgWidth) {
		this.thumbnailImgWidth = thumbnailImgWidth;
	}

	public Integer getThumbnailHeight() {
		return thumbnailHeight;
	}

	public void setThumbnailHeight(Integer thumbnailHeight) {
		this.thumbnailHeight = thumbnailHeight;
	}


}
